package com.bjc.edustatistics.client;

import com.bjc.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

/**
 * @program: guli_parent
 * @description: 调用远程服务
 * @author: bjc
 * @create: 2020-11-21 16:52
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {

    /**
     * 查询某一天注册人数
     */
    @GetMapping(value = "/educenter/member/countRegister/{day}")
    public R countRegister(@PathVariable String day);
}
